home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 15 / CU Amiga Magazine's Super CD-ROM 15 (1997)(EMAP Images)(GB)[!][issue 1997-10].iso / CUCD / Graphics / Ghostscript / source / devs.mak < prev    next >
Encoding:
Text File  |  1997-06-20  |  53.3 KB  |  1,592 lines

  1. #    Copyright (C) 1989, 1996, 1997 Aladdin Enterprises.  All rights reserved.
  2. # This file is part of Aladdin Ghostscript.
  3. # Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author
  4. # or distributor accepts any responsibility for the consequences of using it,
  5. # or for whether it serves any particular purpose or works at all, unless he
  6. # or she says so in writing.  Refer to the Aladdin Ghostscript Free Public
  7. # License (the "License") for full details.
  8. # Every copy of Aladdin Ghostscript must include a copy of the License,
  9. # normally in a plain ASCII text file named PUBLIC.  The License grants you
  10. # the right to copy, modify and redistribute Aladdin Ghostscript, but only
  11. # under certain conditions described in the License.  Among other things, the
  12. # License requires that the copyright notice and this notice be preserved on
  13. # all copies.
  14.  
  15. # makefile for device drivers.
  16.  
  17. # Define the name of this makefile.
  18. DEVS_MAK=devs.mak
  19.  
  20. ###### --------------------------- Catalog -------------------------- ######
  21.  
  22. # It is possible to build configurations with an arbitrary collection of
  23. # device drivers, although some drivers are supported only on a subset
  24. # of the target platforms.  The currently available drivers are:
  25.  
  26. # MS-DOS displays (note: not usable with Desqview/X):
  27. #   MS-DOS EGA and VGA:
  28. #    ega    EGA (640x350, 16-color)
  29. #    vga    VGA (640x480, 16-color)
  30. #   MS-DOS SuperVGA:
  31. # *    ali    SuperVGA using Avance Logic Inc. chipset, 256-color modes
  32. # *    atiw    ATI Wonder SuperVGA, 256-color modes
  33. # *    s3vga    SuperVGA using S3 86C911 chip (e.g., Diamond Stealth board)
  34. #    svga16    Generic SuperVGA in 800x600, 16-color mode
  35. # *    tseng    SuperVGA using Tseng Labs ET3000/4000 chips, 256-color modes
  36. # *    tvga    SuperVGA using Trident chipset, 256-color modes
  37. #   ****** NOTE: The vesa device does not work with the Watcom (32-bit MS-DOS)
  38. #   ****** compiler or executable.
  39. #    vesa    SuperVGA with VESA standard API driver
  40. #   MS-DOS other:
  41. #    bgi    Borland Graphics Interface (CGA)  [MS-DOS only]
  42. # *    herc    Hercules Graphics display   [MS-DOS only]
  43. # *    pe    Private Eye display
  44. # Other displays:
  45. #   MS Windows:
  46. #    mswindll  Microsoft Windows 3.1 DLL  [MS Windows only]
  47. #    mswinprn  Microsoft Windows 3.0, 3.1 DDB printer  [MS Windows only]
  48. #    mswinpr2  Microsoft Windows 3.0, 3.1 DIB printer  [MS Windows only]
  49. #   OS/2:
  50. # *    os2pm    OS/2 Presentation Manager   [OS/2 only]
  51. # *    os2dll    OS/2 DLL bitmap             [OS/2 only]
  52. # *    os2prn    OS/2 printer                [OS/2 only]
  53. #   Unix and VMS:
  54. #   ****** NOTE: For direct frame buffer addressing under SCO Unix or Xenix,
  55. #   ****** edit the definition of EGAVGA below.
  56. # *    att3b1    AT&T 3b1/Unixpc monochrome display   [3b1 only]
  57. # *    lvga256  Linux vgalib, 256-color VGA modes  [Linux only]
  58. # *    sonyfb    Sony Microsystems monochrome display   [Sony only]
  59. # *    sunview  SunView window system   [SunOS only]
  60. # +    vgalib    Linux PC with VGALIB   [Linux only]
  61. #    x11    X Windows version 11, release >=4   [Unix and VMS only]
  62. #    x11alpha  X Windows masquerading as a device with alpha capability
  63. #    x11cmyk  X Windows masquerading as a 1-bit-per-plane CMYK device
  64. #    x11gray2  X Windows as a 2-bit gray-scale device
  65. #    x11mono  X Windows masquerading as a black-and-white device
  66. #   Platform-independent:
  67. # *    sxlcrt    CRT sixels, e.g. for VT240-like terminals
  68. # Printers:
  69. # *    ap3250    Epson AP3250 printer
  70. # *    appledmp  Apple Dot Matrix Printer (should also work with Imagewriter)
  71. #    bj10e    Canon BubbleJet BJ10e
  72. # *    bj200    Canon BubbleJet BJ200
  73. # *    bjc600   Canon Color BubbleJet BJC-600, BJC-4000 and BJC-70
  74. #               also good for Apple printers like the StyleWriter 2x00
  75. # *    bjc800   Canon Color BubbleJet BJC-800
  76. # *     ccr     CalComp Raster format
  77. # *    cdeskjet  H-P DeskJet 500C with 1 bit/pixel color
  78. # *    cdjcolor  H-P DeskJet 500C with 24 bit/pixel color and
  79. #        high-quality color (Floyd-Steinberg) dithering;
  80. #        also good for DeskJet 540C and Citizen Projet IIc (-r200x300)
  81. # *    cdjmono  H-P DeskJet 500C printing black only;
  82. #        also good for DeskJet 510, 520, and 540C (black only)
  83. # *    cdj500    H-P DeskJet 500C (same as cdjcolor)
  84. # *    cdj550    H-P DeskJet 550C/560C
  85. # *    cp50    Mitsubishi CP50 color printer
  86. # *    declj250  alternate DEC LJ250 driver
  87. # +    deskjet  H-P DeskJet and DeskJet Plus
  88. #    djet500  H-P DeskJet 500
  89. # *    djet500c  H-P DeskJet 500C alternate driver
  90. #        (does not work on 550C or 560C)
  91. # *    dnj650c  H-P DesignJet 650C
  92. #    epson    Epson-compatible dot matrix printers (9- or 24-pin)
  93. # *    eps9mid  Epson-compatible 9-pin, interleaved lines
  94. #        (intermediate resolution)
  95. # *    eps9high  Epson-compatible 9-pin, interleaved lines
  96. #        (triple resolution)
  97. # *    epsonc    Epson LQ-2550 and Fujitsu 3400/2400/1200 color printers
  98. # *    ibmpro  IBM 9-pin Proprinter
  99. # *    imagen    Imagen ImPress printers
  100. # *    iwhi    Apple Imagewriter in high-resolution mode
  101. # *    iwlo    Apple Imagewriter in low-resolution mode
  102. # *    iwlq    Apple Imagewriter LQ in 320 x 216 dpi mode
  103. # *    jetp3852  IBM Jetprinter ink-jet color printer (Model #3852)
  104. # +    laserjet  H-P LaserJet
  105. # *    la50    DEC LA50 printer
  106. # *    la70    DEC LA70 printer
  107. # *    la70t    DEC LA70 printer with low-resolution text enhancement
  108. # *    la75    DEC LA75 printer
  109. # *    la75plus DEC LA75plus printer
  110. # *    lbp8    Canon LBP-8II laser printer
  111. # *    lips3    Canon LIPS III laser printer in English (CaPSL) mode
  112. # *    ln03    DEC LN03 printer
  113. # *    lj250    DEC LJ250 Companion color printer
  114. # +    ljet2p    H-P LaserJet IId/IIp/III* with TIFF compression
  115. # +    ljet3    H-P LaserJet III* with Delta Row compression
  116. # +    ljet3d    H-P LaserJet IIID with duplex capability
  117. # +    ljet4    H-P LaserJet 4 (defaults to 600 dpi)
  118. # +    lj4dith  H-P LaserJet 4 with Floyd-Steinberg dithering
  119. # +    ljetplus  H-P LaserJet Plus
  120. #    lj5mono  H-P LaserJet 5 & 6 family (PCL XL), bitmap:
  121. #        see below for restrictions & advice
  122. #    lj5gray  H-P LaserJet 5 & 6 family, gray-scale bitmap;
  123. #        see below for restrictions & advice
  124. # *    lp2563    H-P 2563B line printer
  125. # *    lp8000    Epson LP-8000 laser printer
  126. # *    m8510    C.Itoh M8510 printer
  127. # *    necp6    NEC P6/P6+/P60 printers at 360 x 360 DPI resolution
  128. # *    nwp533  Sony Microsystems NWP533 laser printer   [Sony only]
  129. # *    oce9050  OCE 9050 printer
  130. # *    oki182    Okidata MicroLine 182
  131. # *    okiibm    Okidata MicroLine IBM-compatible printers
  132. # *    paintjet  alternate H-P PaintJet color printer
  133. # *    pj    H-P PaintJet XL driver 
  134. # *    pjetxl    alternate H-P PaintJet XL driver
  135. # *    pjxl    H-P PaintJet XL color printer
  136. # *    pjxl300  H-P PaintJet XL300 color printer;
  137. #        also good for PaintJet 1200C
  138. #    (pxlmono) H-P black-and-white PCL XL printers (LaserJet 5 and 6 family)
  139. #    (pxlcolor) H-P color PCL XL printers (none available yet)
  140. # *    r4081    Ricoh 4081 laser printer
  141. # *    sj48    StarJet 48 inkjet printer
  142. # *    sparc    SPARCprinter
  143. # *    st800    Epson Stylus 800 printer
  144. # *    stcolor    Epson Stylus Color
  145. # *    t4693d2  Tektronix 4693d color printer, 2 bits per R/G/B component
  146. # *    t4693d4  Tektronix 4693d color printer, 4 bits per R/G/B component
  147. # *    t4693d8  Tektronix 4693d color printer, 8 bits per R/G/B component
  148. # *    tek4696  Tektronix 4695/4696 inkjet plotter
  149. # *    uniprint  Unified printer driver -- Configurable Color ESC/P-,
  150. #        ESC/P2-, HP-RTL/PCL mono/color driver
  151. # *    xes    Xerox XES printers (2700, 3700, 4045, etc.)
  152. # Fax systems:
  153. # *    dfaxhigh  DigiBoard, Inc.'s DigiFAX software format (high resolution)
  154. # *    dfaxlow  DigiFAX low (normal) resolution
  155. # Fax file format:
  156. #   ****** NOTE: all of these drivers adjust the page size to match
  157. #   ****** one of the three CCITT standard sizes (U.S. letter with A4 width,
  158. #   ****** A4, or B4).
  159. #    faxg3    Group 3 fax, with EOLs but no header or EOD
  160. #    faxg32d  Group 3 2-D fax, with EOLs but no header or EOD
  161. #    faxg4    Group 4 fax, with EOLs but no header or EOD
  162. #    tiffcrle  TIFF "CCITT RLE 1-dim" (= Group 3 fax with no EOLs)
  163. #    tiffg3    TIFF Group 3 fax (with EOLs)
  164. #    tiffg32d  TIFF Group 3 2-D fax
  165. #    tiffg4    TIFF Group 4 fax
  166. # High-level file formats:
  167. #    epswrite  EPS output (like PostScript Distillery)
  168. #    pdfwrite  PDF output (like Adobe Acrobat Distiller)
  169. #    pswrite  PostScript output (like PostScript Distillery)
  170. #    pxlmono  Black-and-white PCL XL
  171. #    pxlcolor  Color PCL XL
  172. # Other raster file formats and devices:
  173. #    bit    Plain bits, monochrome
  174. #    bitrgb    Plain bits, RGB
  175. #    bitcmyk  Plain bits, CMYK
  176. #    bmpmono    Monochrome MS Windows .BMP file format
  177. #    bmp16    4-bit (EGA/VGA) .BMP file format
  178. #    bmp256    8-bit (256-color) .BMP file format
  179. #    bmp16m    24-bit .BMP file format
  180. #    cgmmono  Monochrome (black-and-white) CGM -- LOW LEVEL OUTPUT ONLY
  181. #    cgm8    8-bit (256-color) CGM -- DITTO
  182. #    cgm24    24-bit color CGM -- DITTO
  183. # *    cif    CIF file format for VLSI
  184. #    jpeg    JPEG format, RGB output
  185. #    jpeggray  JPEG format, gray output
  186. #    miff24    ImageMagick MIFF format, 24-bit direct color, RLE compressed
  187. # *    mgrmono  1-bit monochrome MGR devices
  188. # *    mgrgray2  2-bit gray scale MGR devices
  189. # *    mgrgray4  4-bit gray scale MGR devices
  190. # *    mgrgray8  8-bit gray scale MGR devices
  191. # *    mgr4    4-bit (VGA) color MGR devices
  192. # *    mgr8    8-bit color MGR devices
  193. #    pcxmono    PCX file format, monochrome (1-bit black and white)
  194. #    pcxgray    PCX file format, 8-bit gray scale
  195. #    pcx16    PCX file format, 4-bit planar (EGA/VGA) color
  196. #    pcx256    PCX file format, 8-bit chunky color
  197. #    pcx24b    PCX file format, 24-bit color (3 8-bit planes)
  198. #    pcxcmyk PCX file format, 4-bit chunky CMYK color
  199. #    pbm    Portable Bitmap (plain format)
  200. #    pbmraw    Portable Bitmap (raw format)
  201. #    pgm    Portable Graymap (plain format)
  202. #    pgmraw    Portable Graymap (raw format)
  203. #    pgnm    Portable Graymap (plain format), optimizing to PBM if possible
  204. #    pgnmraw    Portable Graymap (raw format), optimizing to PBM if possible
  205. #    pnm    Portable Pixmap (plain format) (RGB), optimizing to PGM or PBM
  206. #         if possible
  207. #    pnmraw    Portable Pixmap (raw format) (RGB), optimizing to PGM or PBM
  208. #         if possible
  209. #    ppm    Portable Pixmap (plain format) (RGB)
  210. #    ppmraw    Portable Pixmap (raw format) (RGB)
  211. #    pkm    Portable inKmap (plain format) (4-bit CMYK => RGB)
  212. #    pkmraw    Portable inKmap (raw format) (4-bit CMYK => RGB)
  213. #    pngmono    Monochrome Portable Network Graphics (PNG)
  214. #    pnggray    8-bit gray Portable Network Graphics (PNG)
  215. #    png16    4-bit color Portable Network Graphics (PNG)
  216. #    png256    8-bit color Portable Network Graphics (PNG)
  217. #    png16m    24-bit color Portable Network Graphics (PNG)
  218. #    psmono    PostScript (Level 1) monochrome image
  219. #    psgray    PostScript (Level 1) 8-bit gray image
  220. #    sgirgb    SGI RGB pixmap format
  221. #    tiff12nc  TIFF 12-bit RGB, no compression
  222. #    tiff24nc  TIFF 24-bit RGB, no compression (NeXT standard format)
  223. #    tifflzw  TIFF LZW (tag = 5) (monochrome)
  224. #    tiffpack  TIFF PackBits (tag = 32773) (monochrome)
  225.  
  226. # User-contributed drivers marked with * require hardware or software
  227. # that is not available to Aladdin Enterprises.  Please contact the
  228. # original contributors, not Aladdin Enterprises, if you have questions.
  229. # Contact information appears in the driver entry below.
  230. #
  231. # Drivers marked with a + are maintained by Aladdin Enterprises with
  232. # the assistance of users, since Aladdin Enterprises doesn't have access to
  233. # the hardware for these either.
  234.  
  235. # If you add drivers, it would be nice if you kept each list
  236. # in alphabetical order.
  237.  
  238. ###### ----------------------- End of catalog ----------------------- ######
  239.  
  240. # As noted in gs.mak, DEVICE_DEVS and DEVICE_DEVS1..15 select the devices
  241. # that should be included in a given configuration.  By convention, these
  242. # are used as follows.  Each of these must be limited to about 10 devices
  243. # so as not to overflow the 120 character limit on MS-DOS command lines.
  244. #    DEVICE_DEVS - the default device, and any display devices.
  245. #    DEVICE_DEVS1 - additional display devices if needed.
  246. #    DEVICE_DEVS2 - dot matrix printers.
  247. #    DEVICE_DEVS3 - H-P monochrome printers.
  248. #    DEVICE_DEVS4 - H-P color printers.
  249. #    DEVICE_DEVS5 - additional H-P printers if needed.
  250. #    DEVICE_DEVS6 - other ink-jet and laser printers.
  251. #    DEVICE_DEVS7 - fax file formats.
  252. #    DEVICE_DEVS8 - PCX file formats.
  253. #    DEVICE_DEVS9 - PBM/PGM/PPM file formats.
  254. #    DEVICE_DEVS10 - black-and-white TIFF file formats.
  255. #    DEVICE_DEVS11 - BMP and color TIFF file formats.
  256. #    DEVICE_DEVS12 - PostScript image and 'bit' file formats.
  257. #    DEVICE_DEVS13 - PNG file formats.
  258. #    DEVICE_DEVS14 - CGM, JPEG, and MIFF file formats.
  259. #    DEVICE_DEVS15 - high-level (PostScript and PDF) file formats.
  260. # Feel free to disregard this convention if it gets in your way.
  261.  
  262. # If you want to add a new device driver, the examples below should be
  263. # enough of a guide to the correct form for the makefile rules.
  264. # Note that all drivers other than displays must include page.dev in their
  265. # dependencies and use $(SETPDEV) rather than $(SETDEV) in their rule bodies.
  266.  
  267. # All device drivers depend on the following:
  268. GDEV=$(AK) $(ECHOGS_XE) $(gserrors_h) $(gx_h) $(gxdevice_h)
  269.  
  270. # "Printer" drivers depend on the following:
  271. PDEVH=$(AK) $(gdevprn_h)
  272.  
  273. # Define the header files for device drivers.  Every header file used by
  274. # more than one device driver family must be listed here.
  275. gdev8bcm_h=gdev8bcm.h
  276. gdevpccm_h=gdevpccm.h
  277. gdevpcfb_h=gdevpcfb.h $(dos__h)
  278. gdevpcl_h=gdevpcl.h
  279. gdevsvga_h=gdevsvga.h
  280. gdevx_h=gdevx.h
  281.  
  282. ###### ----------------------- Device support ----------------------- ######
  283.  
  284. # Provide a mapping between StandardEncoding and ISOLatin1Encoding.
  285. gdevemap.$(OBJ): gdevemap.c $(AK) $(std_h)
  286.  
  287. # Implement dynamic color management for 8-bit mapped color displays.
  288. gdev8bcm.$(OBJ): gdev8bcm.c $(AK) \
  289.   $(gx_h) $(gxdevice_h) $(gdev8bcm_h)
  290.  
  291. ###### ------------------- MS-DOS display devices ------------------- ######
  292.  
  293. # There are really only three drivers: an EGA/VGA driver (4 bit-planes,
  294. # plane-addressed), a SuperVGA driver (8 bit-planes, byte addressed),
  295. # and a special driver for the S3 chip.
  296.  
  297. # PC display color mapping
  298. gdevpccm.$(OBJ): gdevpccm.c $(AK) \
  299.   $(gx_h) $(gsmatrix_h) $(gxdevice_h) $(gdevpccm_h)
  300.  
  301. ### ----------------------- EGA and VGA displays ----------------------- ###
  302.  
  303. # The shared MS-DOS makefile defines PCFBASM as either gdevegaa.$(OBJ)
  304. # or an empty string.
  305.  
  306. gdevegaa.$(OBJ): gdevegaa.asm
  307.  
  308. # NOTE: for direct frame buffer addressing under SCO Unix or Xenix,
  309. # change gdevevga to gdevsco in the following line.  Also, since
  310. # SCO's /bin/as does not support the "out" instructions, you must build
  311. # the gnu assembler and have it on your path as "as".
  312. EGAVGA=gdevevga.$(OBJ) gdevpcfb.$(OBJ) gdevpccm.$(OBJ) $(PCFBASM)
  313. #EGAVGA=gdevsco.$(OBJ) gdevpcfb.$(OBJ) gdevpccm.$(OBJ) $(PCFBASM)
  314.  
  315. gdevevga.$(OBJ): gdevevga.c $(GDEV) $(memory__h) $(gdevpcfb_h)
  316.     $(CCD) gdevevga.c
  317.  
  318. gdevsco.$(OBJ): gdevsco.c $(GDEV) $(memory__h) $(gdevpcfb_h)
  319.  
  320. # Common code for MS-DOS and SCO.
  321. gdevpcfb.$(OBJ): gdevpcfb.c $(GDEV) $(memory__h) $(gconfigv_h)\
  322.  $(gdevpccm_h) $(gdevpcfb_h) $(gsparam_h)
  323.     $(CCD) gdevpcfb.c
  324.  
  325. # The EGA/VGA family includes EGA and VGA.  Many SuperVGAs in 800x600,
  326. # 16-color mode can share the same code; see the next section below.
  327.  
  328. ega.dev: $(EGAVGA)
  329.     $(SETDEV) ega $(EGAVGA)
  330.  
  331. vga.dev: $(EGAVGA)
  332.     $(SETDEV) vga $(EGAVGA)
  333.  
  334. ### ------------------------- SuperVGA displays ------------------------ ###
  335.  
  336. # SuperVGA displays in 16-color, 800x600 mode are really just slightly
  337. # glorified VGA's, so we can handle them all with a single driver.
  338. # The way to select them on the command line is with
  339. #    -sDEVICE=svga16 -dDisplayMode=NNN
  340. # where NNN is the display mode in decimal.  See use.txt for the modes
  341. # for some popular display chipsets.
  342.  
  343. svga16.dev: $(EGAVGA)
  344.     $(SETDEV) svga16 $(EGAVGA)
  345.  
  346. # More capable SuperVGAs have a wide variety of slightly differing
  347. # interfaces, so we need a separate driver for each one.
  348.  
  349. SVGA=gdevsvga.$(OBJ) gdevpccm.$(OBJ) $(PCFBASM)
  350.  
  351. gdevsvga.$(OBJ): gdevsvga.c $(GDEV) $(memory__h) $(gconfigv_h)\
  352.  $(gsparam_h) $(gxarith_h) $(gdevpccm_h) $(gdevpcfb_h) $(gdevsvga_h)
  353.     $(CCD) gdevsvga.c
  354.  
  355. # The SuperVGA family includes: Avance Logic Inc., ATI Wonder, S3,
  356. # Trident, Tseng ET3000/4000, and VESA.
  357.  
  358. ali.dev: $(SVGA)
  359.     $(SETDEV) ali $(SVGA)
  360.  
  361. atiw.dev: $(SVGA)
  362.     $(SETDEV) atiw $(SVGA)
  363.  
  364. tseng.dev: $(SVGA)
  365.     $(SETDEV) tseng $(SVGA)
  366.  
  367. tvga.dev: $(SVGA)
  368.     $(SETDEV) tvga $(SVGA)
  369.  
  370. vesa.dev: $(SVGA)
  371.     $(SETDEV) vesa $(SVGA)
  372.  
  373. # The S3 driver doesn't share much code with the others.
  374.  
  375. s3vga_=gdevs3ga.$(OBJ) gdevsvga.$(OBJ) gdevpccm.$(OBJ)
  376. s3vga.dev: $(SVGA) $(s3vga_)
  377.     $(SETDEV) s3vga $(SVGA)
  378.     $(ADDMOD) s3vga -obj $(s3vga_)
  379.  
  380. gdevs3ga.$(OBJ): gdevs3ga.c $(GDEV) $(gdevpcfb_h) $(gdevsvga_h)
  381.     $(CCD) gdevs3ga.c
  382.  
  383. ### ------------ The BGI (Borland Graphics Interface) device ----------- ###
  384.  
  385. cgaf.$(OBJ): $(BGIDIR)\cga.bgi
  386.     $(BGIDIR)\bgiobj /F $(BGIDIR)\cga
  387.  
  388. egavgaf.$(OBJ): $(BGIDIR)\egavga.bgi
  389.     $(BGIDIR)\bgiobj /F $(BGIDIR)\egavga
  390.  
  391. # Include egavgaf.$(OBJ) for debugging only.
  392. bgi_=gdevbgi.$(OBJ) cgaf.$(OBJ)
  393. bgi.dev: $(bgi_)
  394.     $(SETDEV) bgi $(bgi_)
  395.     $(ADDMOD) bgi -lib $(LIBDIR)\graphics
  396.  
  397. gdevbgi.$(OBJ): gdevbgi.c $(GDEV) $(MAKEFILE) $(gxxfont_h)
  398.     $(CCC) -DBGI_LIB="$(BGIDIRSTR)" gdevbgi.c
  399.  
  400. ### ------------------- The Hercules Graphics display ------------------- ###
  401.  
  402. herc_=gdevherc.$(OBJ)
  403. herc.dev: $(herc_)
  404.     $(SETDEV) herc $(herc_)
  405.  
  406. gdevherc.$(OBJ): gdevherc.c $(GDEV) $(dos__h) $(gsmatrix_h) $(gxbitmap_h)
  407.     $(CCC) gdevherc.c
  408.  
  409. ### ---------------------- The Private Eye display ---------------------- ###
  410. ### Note: this driver was contributed by a user:                          ###
  411. ###   please contact narf@media-lab.media.mit.edu if you have questions.  ###
  412.  
  413. pe_=gdevpe.$(OBJ)
  414. pe.dev: $(pe_)
  415.     $(SETDEV) pe $(pe_)
  416.  
  417. gdevpe.$(OBJ): gdevpe.c $(GDEV) $(memory__h)
  418.  
  419. ###### ----------------------- Other displays ------------------------ ######
  420.  
  421. ### -------------------- The MS-Windows 3.n DLL ------------------------- ###
  422.  
  423. gsdll_h=gsdll.h
  424.  
  425. gdevmswn_h=gdevmswn.h $(GDEV)\
  426.  $(dos__h) $(memory__h) $(string__h) $(windows__h)\
  427.  gp_mswin.h
  428.  
  429. gdevmswn.$(OBJ): gdevmswn.c $(gdevmswn_h) $(gp_h) $(gpcheck_h) \
  430.  $(gsdll_h) $(gsparam_h) $(gdevpccm_h)
  431.  
  432. gdevmsxf.$(OBJ): gdevmsxf.c $(ctype__h) $(math__h) $(memory__h) $(string__h)\
  433.  $(gdevmswn_h) $(gsstruct_h) $(gsutil_h) $(gxxfont_h)
  434.  
  435. # An implementation using a DIB filled by an image device.
  436. gdevwdib.$(OBJ): gdevwdib.c $(gdevmswn_h) $(gsdll_h) $(gxdevmem_h)
  437.  
  438. mswindll_=gdevmswn.$(OBJ) gdevmsxf.$(OBJ) gdevwdib.$(OBJ) \
  439.   gdevemap.$(OBJ) gdevpccm.$(OBJ)
  440. mswindll.dev: $(mswindll_)
  441.     $(SETDEV) mswindll $(mswindll_)
  442.  
  443. ### -------------------- The MS-Windows DDB 3.n printer ----------------- ###
  444.  
  445. mswinprn_=gdevwprn.$(OBJ) gdevmsxf.$(OBJ)
  446. mswinprn.dev: $(mswinprn_)
  447.     $(SETDEV) mswinprn $(mswinprn_)
  448.  
  449. gdevwprn.$(OBJ): gdevwprn.c $(gdevmswn_h) $(gp_h)
  450.  
  451. ### -------------------- The MS-Windows DIB 3.n printer ----------------- ###
  452.  
  453. mswinpr2_=gdevwpr2.$(OBJ)
  454. mswinpr2.dev: $(mswinpr2_) page.dev
  455.     $(SETPDEV) mswinpr2 $(mswinpr2_)
  456.  
  457. gdevwpr2.$(OBJ): gdevwpr2.c $(PDEVH) $(windows__h)\
  458.  $(gdevpccm_h) $(gp_h) gp_mswin.h
  459.  
  460. ### ------------------ OS/2 Presentation Manager device ----------------- ###
  461.  
  462. os2pm_=gdevpm.$(OBJ) gdevpccm.$(OBJ)
  463. os2pm.dev: $(os2pm_)
  464.     $(SETDEV) os2pm $(os2pm_)
  465.  
  466. os2dll_=gdevpm.$(OBJ) gdevpccm.$(OBJ)
  467. os2dll.dev: $(os2dll_)
  468.     $(SETDEV) os2dll $(os2dll_)
  469.  
  470. gdevpm.$(OBJ): gdevpm.c $(string__h)\
  471.  $(gp_h) $(gpcheck_h)\
  472.  $(gsdll_h) $(gserrors_h) $(gsexit_h) $(gsparam_h)\
  473.  $(gx_h) $(gxdevice_h) $(gxdevmem_h)\
  474.  $(gdevpccm_h) gdevpm.h
  475.  
  476. ### --------------------------- The OS/2 printer ------------------------ ###
  477.  
  478. os2prn_=gdevos2p.$(OBJ)
  479. os2prn.dev: $(os2prn_) page.dev
  480.     $(SETPDEV) os2prn $(os2prn_)
  481.  
  482. os2prn.$(OBJ): os2prn.c $(gp_h)
  483.  
  484. ### -------------- The AT&T 3b1 Unixpc monochrome display --------------- ###
  485. ### Note: this driver was contributed by a user: please contact           ###
  486. ###       Andy Fyfe (andy@cs.caltech.edu) if you have questions.          ###
  487.  
  488. att3b1_=gdev3b1.$(OBJ)
  489. att3b1.dev: $(att3b1_)
  490.     $(SETDEV) att3b1 $(att3b1_)
  491.  
  492. gdev3b1.$(OBJ): gdev3b1.c $(GDEV)
  493.  
  494. ### ---------------------- Linux PC with vgalib ------------------------- ###
  495. ### Note: these drivers were contributed by users.                        ###
  496. ### For questions about the lvga256 driver, please contact                ###
  497. ###       Ludger Kunz (ludger.kunz@fernuni-hagen.de).                     ###
  498. ### For questions about the vgalib driver, please contact                 ###
  499. ###       Erik Talvola (talvola@gnu.ai.mit.edu).                          ###
  500.  
  501. lvga256_=gdevl256.$(OBJ)
  502. lvga256.dev: $(lvga256_)
  503.     $(SETDEV) lvga256 $(lvga256_)
  504.     $(ADDMOD) lvga256 -lib vga vgagl
  505.  
  506. gdevl256.$(OBJ): gdevl256.c $(GDEV)
  507.  
  508. vgalib_=gdevvglb.$(OBJ) gdevpccm.$(OBJ)
  509. vgalib.dev: $(vgalib_)
  510.     $(SETDEV) vgalib $(vgalib_)
  511.     $(ADDMOD) vgalib -lib vga
  512.  
  513. gdevvglb.$(OBJ): gdevvglb.c $(GDEV) $(gdevpccm_h) $(gsparam_h)
  514.  
  515. ### ------------------- Sony NeWS frame buffer device ------------------ ###
  516. ### Note: this driver was contributed by a user: please contact          ###
  517. ###       Mike Smolenski (mike@intertech.com) if you have questions.     ###
  518.  
  519. # This is implemented as a 'printer' device.
  520. sonyfb_=gdevsnfb.$(OBJ)
  521. sonyfb.dev: $(sonyfb_) page.dev
  522.     $(SETPDEV) sonyfb $(sonyfb_)
  523.  
  524. gdevsnfb.$(OBJ): gdevsnfb.c $(PDEVH)
  525.  
  526. ### ------------------------ The SunView device ------------------------ ###
  527. ### Note: this driver is maintained by a user: if you have questions,    ###
  528. ###       please contact Andreas Stolcke (stolcke@icsi.berkeley.edu).    ###
  529.  
  530. sunview_=gdevsun.$(OBJ)
  531. sunview.dev: $(sunview_)
  532.     $(SETDEV) sunview $(sunview_)
  533.     $(ADDMOD) sunview -lib suntool sunwindow pixrect
  534.  
  535. gdevsun.$(OBJ): gdevsun.c $(GDEV) $(malloc__h)\
  536.  $(gscdefs_h) $(gserrors_h) $(gsmatrix_h)
  537.  
  538. ### -------------------------- The X11 device -------------------------- ###
  539.  
  540. # Aladdin Enterprises does not support Ghostview.  For more information
  541. # about Ghostview, please contact Tim Theisen (ghostview@cs.wisc.edu).
  542.  
  543. # See the main makefile for the definition of XLIBS.
  544. x11_=gdevx.$(OBJ) gdevxini.$(OBJ) gdevxxf.$(OBJ) gdevemap.$(OBJ)
  545. x11.dev: $(x11_)
  546.     $(SETDEV) x11 $(x11_)
  547.     $(ADDMOD) x11 -lib $(XLIBS)
  548.  
  549. # See the main makefile for the definition of XINCLUDE.
  550. GDEVX=$(GDEV) x_.h gdevx.h $(MAKEFILE)
  551. gdevx.$(OBJ): gdevx.c $(GDEVX) $(math__h) $(memory__h) $(gsparam_h)
  552.     $(CCC) $(XINCLUDE) gdevx.c
  553.  
  554. gdevxini.$(OBJ): gdevxini.c $(GDEVX) $(math__h) $(memory__h) $(gserrors_h)
  555.     $(CCC) $(XINCLUDE) gdevxini.c
  556.  
  557. gdevxxf.$(OBJ): gdevxxf.c $(GDEVX) $(math__h) $(memory__h)\
  558.  $(gsstruct_h) $(gsutil_h) $(gxxfont_h)
  559.     $(CCC) $(XINCLUDE) gdevxxf.c
  560.  
  561. # Alternate X11-based devices to help debug other drivers.
  562. # x11alpha pretends to have 4 bits of alpha channel.
  563. # x11cmyk pretends to be a CMYK device with 1 bit each of C,M,Y,K.
  564. # x11gray2 pretends to be a 2-bit gray-scale device.
  565. # x11mono pretends to be a black-and-white device.
  566. x11alt_=$(x11_) gdevxalt.$(OBJ)
  567. x11alpha.dev: $(x11alt_)
  568.     $(SETDEV) x11alpha $(x11alt_)
  569.     $(ADDMOD) x11alpha -lib $(XLIBS)
  570.  
  571. x11cmyk.dev: $(x11alt_)
  572.     $(SETDEV) x11cmyk $(x11alt_)
  573.     $(ADDMOD) x11cmyk -lib $(XLIBS)
  574.  
  575. x11gray2.dev: $(x11alt_)
  576.     $(SETDEV) x11gray2 $(x11alt_)
  577.     $(ADDMOD) x11gray2 -lib $(XLIBS)
  578.  
  579. x11mono.dev: $(x11alt_)
  580.     $(SETDEV) x11mono $(x11alt_)
  581.     $(ADDMOD) x11mono -lib $(XLIBS)
  582.  
  583. gdevxalt.$(OBJ): gdevxalt.c $(GDEVX) $(math__h) $(memory__h) $(gsparam_h)
  584.     $(CCC) $(XINCLUDE) gdevxalt.c
  585.  
  586. ### ------------------------- DEC sixel displays ------------------------ ###
  587. ### Note: this driver was contributed by a user: please contact           ###
  588. ###   Phil Keegstra (keegstra@tonga.gsfc.nasa.gov) if you have questions. ###
  589.  
  590. # This is a "printer" device, but it probably shouldn't be.
  591. # I don't know why the implementor chose to do it this way.
  592. sxlcrt_=gdevln03.$(OBJ)
  593. sxlcrt.dev: $(sxlcrt_) page.dev
  594.     $(SETPDEV) sxlcrt $(sxlcrt_)
  595.  
  596. ###### --------------- Memory-buffered printer devices --------------- ######
  597.  
  598. ### --------------------- The Apple printer devices --------------------- ###
  599. ### Note: these drivers were contributed by users.                        ###
  600. ###   If you have questions about the DMP driver, please contact          ###
  601. ###    Mark Wedel (master@cats.ucsc.edu).                                ###
  602. ###   If you have questions about the Imagewriter drivers, please contact ###
  603. ###    Jonathan Luckey (luckey@rtfm.mlb.fl.us).                          ###
  604. ###   If you have questions about the Imagewriter LQ driver, please       ###
  605. ###    contact Scott Barker (barkers@cuug.ab.ca).                        ###
  606.  
  607. appledmp_=gdevadmp.$(OBJ)
  608.  
  609. gdevadmp.$(OBJ): gdevadmp.c $(PDEVH)
  610.  
  611. appledmp.dev: $(appledmp_) page.dev
  612.     $(SETPDEV) appledmp $(appledmp_)
  613.  
  614. iwhi.dev: $(appledmp_) page.dev
  615.     $(SETPDEV) iwhi $(appledmp_)
  616.  
  617. iwlo.dev: $(appledmp_) page.dev
  618.     $(SETPDEV) iwlo $(appledmp_)
  619.  
  620. iwlq.dev: $(appledmp_) page.dev
  621.     $(SETPDEV) iwlq $(appledmp_)
  622.  
  623. ### ------------ The Canon BubbleJet BJ10e and BJ200 devices ------------ ###
  624.  
  625. bj10e_=gdevbj10.$(OBJ)
  626.  
  627. bj10e.dev: $(bj10e_) page.dev
  628.     $(SETPDEV) bj10e $(bj10e_)
  629.  
  630. bj200.dev: $(bj10e_) page.dev
  631.     $(SETPDEV) bj200 $(bj10e_)
  632.  
  633. gdevbj10.$(OBJ): gdevbj10.c $(PDEVH)
  634.  
  635. ### ------------- The CalComp Raster Format ----------------------------- ###
  636. ### Note: this driver was contributed by a user: please contact           ###
  637. ###       Ernst Muellner (ernst.muellner@oenzl.siemens.de) if you have    ###
  638. ###       questions.                                                      ###
  639.  
  640. ccr_=gdevccr.$(OBJ)
  641. ccr.dev: $(ccr_) page.dev
  642.     $(SETPDEV) ccr $(ccr_)
  643.  
  644. gdevccr.$(OBJ): gdevccr.c $(PDEVH)
  645.  
  646. ### ----------- The H-P DeskJet and LaserJet printer devices ----------- ###
  647.  
  648. ### These are essentially the same device.
  649. ### NOTE: printing at full resolution (300 DPI) requires a printer
  650. ###   with at least 1.5 Mb of memory.  150 DPI only requires .5 Mb.
  651. ### Note that the lj4dith driver is included with the H-P color printer
  652. ###   drivers below.
  653.  
  654. HPPCL=gdevpcl.$(OBJ)
  655. HPMONO=gdevdjet.$(OBJ) $(HPPCL)
  656.  
  657. gdevpcl.$(OBJ): gdevpcl.c $(PDEVH) $(gdevpcl_h)
  658.  
  659. gdevdjet.$(OBJ): gdevdjet.c $(PDEVH) $(gdevpcl_h)
  660.  
  661. deskjet.dev: $(HPMONO) page.dev
  662.     $(SETPDEV) deskjet $(HPMONO)
  663.  
  664. djet500.dev: $(HPMONO) page.dev
  665.     $(SETPDEV) djet500 $(HPMONO)
  666.  
  667. laserjet.dev: $(HPMONO) page.dev
  668.     $(SETPDEV) laserjet $(HPMONO)
  669.  
  670. ljetplus.dev: $(HPMONO) page.dev
  671.     $(SETPDEV) ljetplus $(HPMONO)
  672.  
  673. ### Selecting ljet2p provides TIFF (mode 2) compression on LaserJet III,
  674. ### IIIp, IIId, IIIsi, IId, and IIp. 
  675.  
  676. ljet2p.dev: $(HPMONO) page.dev
  677.     $(SETPDEV) ljet2p $(HPMONO)
  678.  
  679. ### Selecting ljet3 provides Delta Row (mode 3) compression on LaserJet III,
  680. ### IIIp, IIId, IIIsi.
  681.  
  682. ljet3.dev: $(HPMONO) page.dev
  683.     $(SETPDEV) ljet3 $(HPMONO)
  684.  
  685. ### Selecting ljet3d also provides duplex printing capability.
  686.  
  687. ljet3d.dev: $(HPMONO) page.dev
  688.     $(SETPDEV) ljet3d $(HPMONO)
  689.  
  690. ### Selecting ljet4 also provides Delta Row compression on LaserJet IV series.
  691.  
  692. ljet4.dev: $(HPMONO) page.dev
  693.     $(SETPDEV) ljet4 $(HPMONO)
  694.  
  695. lp2563.dev: $(HPMONO) page.dev
  696.     $(SETPDEV) lp2563 $(HPMONO)
  697.  
  698. oce9050.dev: $(HPMONO) page.dev
  699.     $(SETPDEV) oce9050 $(HPMONO)
  700.  
  701. ### ------------------ The H-P LaserJet 5 and 6 devices ----------------- ###
  702.  
  703. ### These drivers use H-P's new PCL XL printer language, like H-P's
  704. ### LaserJet 5 Enhanced driver for MS Windows.  We don't recommend using
  705. ### them:
  706. ###    - If you have a LJ5L, which isn't a "real" LaserJet 5, use the
  707. ###    ljet4 driver instead.  (The lj5 drivers won't work.)
  708. ###    - If you have any other model of LJ 5 or 6, use the pxlmono
  709. ###    driver, which often produces much more compact output.
  710.  
  711. gdevpxat_h=gdevpxat.h
  712. gdevpxen_h=gdevpxen.h
  713. gdevpxop_h=gdevpxop.h
  714.  
  715. ljet5_=gdevlj56.$(OBJ) $(HPPCL)
  716. lj5mono.dev: $(ljet5_) page.dev
  717.     $(SETPDEV) lj5mono $(ljet5_)
  718.  
  719. lj5gray.dev: $(ljet5_) page.dev
  720.     $(SETPDEV) lj5gray $(ljet5_)
  721.  
  722. gdevlj56.$(OBJ): gdevlj56.c $(PDEVH) $(gdevpcl_h)\
  723.  $(gdevpxat_h) $(gdevpxen_h) $(gdevpxop_h)
  724.  
  725. ### The H-P DeskJet, PaintJet, and DesignJet family color printer devices.###
  726. ### Note: there are two different 500C drivers, both contributed by users.###
  727. ###   If you have questions about the djet500c driver,                    ###
  728. ###       please contact AKayser@et.tudelft.nl.                           ###
  729. ###   If you have questions about the cdj* drivers,                       ###
  730. ###       please contact g.cameron@biomed.abdn.ac.uk.                     ###
  731. ###   If you have questions about the dnj560c driver,                     ###
  732. ###       please contact koert@zen.cais.com.                              ###
  733. ###   If you have questions about the lj4dith driver,                     ###
  734. ###       please contact Eckhard.Rueggeberg@ts.go.dlr.de.                 ###
  735. ###   If you have questions about the BJC600/BJC4000, BJC800, or ESCP     ###
  736. ###       drivers, please contact Yves.Arrouye@imag.fr.                   ###
  737.  
  738. cdeskjet_=gdevcdj.$(OBJ) $(HPPCL)
  739.  
  740. cdeskjet.dev: $(cdeskjet_) page.dev
  741.     $(SETPDEV) cdeskjet $(cdeskjet_)
  742.  
  743. cdjcolor.dev: $(cdeskjet_) page.dev
  744.     $(SETPDEV) cdjcolor $(cdeskjet_)
  745.  
  746. cdjmono.dev: $(cdeskjet_) page.dev
  747.     $(SETPDEV) cdjmono $(cdeskjet_)
  748.  
  749. cdj500.dev: $(cdeskjet_) page.dev
  750.     $(SETPDEV) cdj500 $(cdeskjet_)
  751.  
  752. cdj550.dev: $(cdeskjet_) page.dev
  753.     $(SETPDEV) cdj550 $(cdeskjet_)
  754.  
  755. declj250.dev: $(cdeskjet_) page.dev
  756.     $(SETPDEV) declj250 $(cdeskjet_)
  757.  
  758. dnj650c.dev: $(cdeskjet_) page.dev
  759.     $(SETPDEV) dnj650c $(cdeskjet_)
  760.  
  761. lj4dith.dev: $(cdeskjet_) page.dev
  762.     $(SETPDEV) lj4dith $(cdeskjet_)
  763.  
  764. pj.dev: $(cdeskjet_) page.dev
  765.     $(SETPDEV) pj $(cdeskjet_)
  766.  
  767. pjxl.dev: $(cdeskjet_) page.dev
  768.     $(SETPDEV) pjxl $(cdeskjet_)
  769.  
  770. pjxl300.dev: $(cdeskjet_) page.dev
  771.     $(SETPDEV) pjxl300 $(cdeskjet_)
  772.  
  773. # Note: the BJC600 driver also works for the BJC4000.
  774. bjc600.dev: $(cdeskjet_) page.dev
  775.     $(SETPDEV) bjc600 $(cdeskjet_)
  776.  
  777. bjc800.dev: $(cdeskjet_) page.dev
  778.     $(SETPDEV) bjc800 $(cdeskjet_)
  779.  
  780. escp.dev: $(cdeskjet_) page.dev
  781.     $(SETPDEV) escp $(cdeskjet_)
  782.  
  783. # NB: you can also customise the build if required, using
  784. # -DBitsPerPixel=<number> if you wish the default to be other than 24
  785. # for the generic drivers (cdj500, cdj550, pjxl300, pjtest, pjxltest).
  786. gdevcdj.$(OBJ): gdevcdj.c $(std_h) $(PDEVH) gdevbjc.h\
  787.  $(gsparam_h) $(gsstate_h) $(gxlum_h)\
  788.  $(gdevpcl_h)
  789.  
  790. djet500c_=gdevdjtc.$(OBJ) $(HPPCL)
  791. djet500c.dev: $(djet500c_) page.dev
  792.     $(SETPDEV) djet500c $(djet500c_)
  793.  
  794. gdevdjtc.$(OBJ): gdevdjtc.c $(PDEVH) $(malloc__h) $(gdevpcl_h)
  795.  
  796. ### -------------------- The Mitsubishi CP50 printer -------------------- ###
  797. ### Note: this driver was contributed by a user: please contact           ###
  798. ###       Michael Hu (michael@ximage.com) if you have questions.          ###
  799.  
  800. cp50_=gdevcp50.$(OBJ)
  801. cp50.dev: $(cp50_) page.dev
  802.     $(SETPDEV) cp50 $(cp50_)
  803.  
  804. gdevcp50.$(OBJ): gdevcp50.c $(PDEVH)
  805.  
  806. ### ----------------- The generic Epson printer device ----------------- ###
  807. ### Note: most of this code was contributed by users.  Please contact    ###
  808. ###       the following people if you have questions:                    ###
  809. ###   eps9mid - Guenther Thomsen (thomsen@cs.tu-berlin.de)               ###
  810. ###   eps9high - David Wexelblat (dwex@mtgzfs3.att.com)                  ###
  811. ###   ibmpro - James W. Birdsall (jwbirdsa@picarefy.picarefy.com)        ###
  812.  
  813. epson_=gdevepsn.$(OBJ)
  814.  
  815. epson.dev: $(epson_) page.dev
  816.     $(SETPDEV) epson $(epson_)
  817.  
  818. eps9mid.dev: $(epson_) page.dev
  819.     $(SETPDEV) eps9mid $(epson_)
  820.  
  821. eps9high.dev: $(epson_) page.dev
  822.     $(SETPDEV) eps9high $(epson_)
  823.  
  824. gdevepsn.$(OBJ): gdevepsn.c $(PDEVH)
  825.  
  826. ### ----------------- The IBM Proprinter printer device ---------------- ###
  827.  
  828. ibmpro.dev: $(epson_) page.dev
  829.     $(SETPDEV) ibmpro $(epson_)
  830.  
  831. ### -------------- The Epson LQ-2550 color printer device -------------- ###
  832. ### Note: this driver was contributed by users: please contact           ###
  833. ###       Dave St. Clair (dave@exlog.com) if you have questions.         ###
  834.  
  835. epsonc_=gdevepsc.$(OBJ)
  836. epsonc.dev: $(epsonc_) page.dev
  837.     $(SETPDEV) epsonc $(epsonc_)
  838.  
  839. gdevepsc.$(OBJ): gdevepsc.c $(PDEVH)
  840.  
  841. ### ------------- The Epson ESC/P 2 language printer devices ------------- ###
  842. ### Note: these drivers were contributed by users.                         ###
  843. ### For questions about the Stylus 800 and AP3250 drivers, please contact  ###
  844. ###        Richard Brown (rab@tauon.ph.unimelb.edu.au).                    ###
  845. ### For questions about the Stylus Color drivers, please contact           ###
  846. ###        Gunther Hess (gunther@elmos.de).                                ###
  847.  
  848. ESCP2=gdevescp.$(OBJ)
  849.  
  850. gdevescp.$(OBJ): gdevescp.c $(PDEVH)
  851.  
  852. ap3250.dev: $(ESCP2) page.dev
  853.     $(SETPDEV) ap3250 $(ESCP2)
  854.  
  855. st800.dev: $(ESCP2) page.dev
  856.     $(SETPDEV) st800 $(ESCP2)
  857.  
  858. stcolor1_=gdevstc.$(OBJ) gdevstc1.$(OBJ) gdevstc2.$(OBJ)
  859. stcolor2_=gdevstc3.$(OBJ) gdevstc4.$(OBJ)
  860. stcolor.dev: $(stcolor1_) $(stcolor2_) page.dev
  861.     $(SETPDEV) stcolor $(stcolor1_)
  862.     $(ADDMOD) stcolor -obj $(stcolor2_)
  863.  
  864. gdevstc.$(OBJ): gdevstc.c gdevstc.h $(PDEVH)
  865.  
  866. gdevstc1.$(OBJ): gdevstc1.c gdevstc.h $(PDEVH)
  867.  
  868. gdevstc2.$(OBJ): gdevstc2.c gdevstc.h $(PDEVH)
  869.  
  870. gdevstc3.$(OBJ): gdevstc3.c gdevstc.h $(PDEVH)
  871.  
  872. gdevstc4.$(OBJ): gdevstc4.c gdevstc.h $(PDEVH)
  873.  
  874. ### --------------- Ugly/Update -> Unified Printer Driver ---------------- ###
  875. ### For questions about this driver, please contact:                       ###
  876. ###        Gunther Hess (gunther@elmos.de)                                 ###
  877.  
  878. uniprint_=gdevupd.$(OBJ)
  879. uniprint.dev: $(uniprint_) page.dev
  880.     $(SETPDEV) uniprint $(uniprint_)
  881.  
  882. gdevupd.$(OBJ): gdevupd.c $(PDEVH) $(gsparam_h)
  883.  
  884. ### -------------- cdj850 - HP 850c Driver under development ------------- ###
  885. ### Since this driver is in the development-phase it is not distributed    ###
  886. ### with ghostscript, but it is available via anonymous ftp from:          ###
  887. ###                        ftp://bonk.ethz.ch                              ###
  888. ### For questions about this driver, please contact:                       ###
  889. ###       Uli Wortmann (E-Mail address inside the driver-package)          ###
  890.  
  891. cdeskjet8_=gdevcd8.$(OBJ) $(HPPCL)
  892.  
  893. cdj850.dev: $(cdeskjet8_) page.dev
  894.     $(SETPDEV) cdj850 $(cdeskjet8_)
  895.  
  896. ### ------------ The H-P PaintJet color printer device ----------------- ###
  897. ### Note: this driver also supports the DEC LJ250 color printer, which   ###
  898. ###       has a PaintJet-compatible mode, and the PaintJet XL.           ###
  899. ### If you have questions about the XL, please contact Rob Reiss         ###
  900. ###       (rob@moray.berkeley.edu).                                      ###
  901.  
  902. PJET=gdevpjet.$(OBJ) $(HPPCL)
  903.  
  904. gdevpjet.$(OBJ): gdevpjet.c $(PDEVH) $(gdevpcl_h)
  905.  
  906. lj250.dev: $(PJET) page.dev
  907.     $(SETPDEV) lj250 $(PJET)
  908.  
  909. paintjet.dev: $(PJET) page.dev
  910.     $(SETPDEV) paintjet $(PJET)
  911.  
  912. pjetxl.dev: $(PJET) page.dev
  913.     $(SETPDEV) pjetxl $(PJET)
  914.  
  915. ### -------------- Imagen ImPress Laser Printer device ----------------- ###
  916. ### Note: this driver was contributed by a user: please contact          ###
  917. ###       Alan Millar (AMillar@bolis.sf-bay.org) if you have questions.  ###
  918. ### Set USE_BYTE_STREAM if using parallel interface;                     ###
  919. ### Don't set it if using 'ipr' spooler (default).                       ###
  920. ### You may also add -DA4 if needed for A4 paper.             ###
  921.  
  922. imagen_=gdevimgn.$(OBJ)
  923. imagen.dev: $(imagen_) page.dev
  924.     $(SETPDEV) imagen $(imagen_)
  925.  
  926. gdevimgn.$(OBJ): gdevimgn.c $(PDEVH)
  927.     $(CCC) gdevimgn.c            # for ipr spooler
  928. #    $(CCC) -DUSE_BYTE_STREAM gdevimgn.c    # for parallel
  929.  
  930. ### ------- The IBM 3852 JetPrinter color inkjet printer device -------- ###
  931. ### Note: this driver was contributed by users: please contact           ###
  932. ###       Kevin Gift (kgift@draper.com) if you have questions.           ###
  933. ### Note that the paper size that can be addressed by the graphics mode  ###
  934. ###   used in this driver is fixed at 7-1/2 inches wide (the printable   ###
  935. ###   width of the jetprinter itself.)                                   ###
  936.  
  937. jetp3852_=gdev3852.$(OBJ)
  938. jetp3852.dev: $(jetp3852_) page.dev
  939.     $(SETPDEV) jetp3852 $(jetp3852_)
  940.  
  941. gdev3852.$(OBJ): gdev3852.c $(PDEVH) $(gdevpcl_h)
  942.  
  943. ### ---------- The Canon LBP-8II and LIPS III printer devices ---------- ###
  944. ### Note: these drivers were contributed by users.                       ###
  945. ### For questions about these drivers, please contact                    ###
  946. ###       Lauri Paatero, lauri.paatero@paatero.pp.fi                     ###
  947.  
  948. lbp8_=gdevlbp8.$(OBJ)
  949. lbp8.dev: $(lbp8_) page.dev
  950.     $(SETPDEV) lbp8 $(lbp8_)
  951.  
  952. lips3.dev: $(lbp8_) page.dev
  953.     $(SETPDEV) lips3 $(lbp8_)
  954.  
  955. gdevlbp8.$(OBJ): gdevlbp8.c $(PDEVH)
  956.  
  957. ### ----------- The DEC LN03/LA50/LA70/LA75 printer devices ------------ ###
  958. ### Note: this driver was contributed by users: please contact           ###
  959. ###       Ulrich Mueller (ulm@vsnhd1.cern.ch) if you have questions.     ###
  960. ### For questions about LA50 and LA75, please contact                    ###
  961. ###       Ian MacPhedran (macphed@dvinci.USask.CA).                      ###
  962. ### For questions about the LA70, please contact                         ###
  963. ###       Bruce Lowekamp (lowekamp@csugrad.cs.vt.edu).                   ###
  964. ### For questions about the LA75plus, please contact                     ###
  965. ###       Andre' Beck (Andre_Beck@IRS.Inf.TU-Dresden.de).                ###
  966.  
  967. ln03_=gdevln03.$(OBJ)
  968. ln03.dev: $(ln03_) page.dev
  969.     $(SETPDEV) ln03 $(ln03_)
  970.  
  971. la50.dev: $(ln03_) page.dev
  972.     $(SETPDEV) la50 $(ln03_)
  973.  
  974. la70.dev: $(ln03_) page.dev
  975.     $(SETPDEV) la70 $(ln03_)
  976.  
  977. la75.dev: $(ln03_) page.dev
  978.     $(SETPDEV) la75 $(ln03_)
  979.  
  980. la75plus.dev: $(ln03_) page.dev
  981.     $(SETPDEV) la75plus $(ln03_)
  982.  
  983. gdevln03.$(OBJ): gdevln03.c $(PDEVH)
  984.  
  985. # LA70 driver with low-resolution text enhancement.
  986.  
  987. la70t_=gdevla7t.$(OBJ)
  988. la70t.dev: $(la70t_) page.dev
  989.     $(SETPDEV) la70t $(la70t_)
  990.  
  991. gdevla7t.$(OBJ): gdevla7t.c $(PDEVH)
  992.  
  993. ### -------------- The Epson LP-8000 laser printer device -------------- ###
  994. ### Note: this driver was contributed by a user: please contact Oleg     ###
  995. ###       Oleg Fat'yanov <faty1@rlem.titech.ac.jp> if you have questions.###
  996.  
  997. lp8000_=gdevlp8k.$(OBJ)
  998. lp8000.dev: $(lp8000_) page.dev
  999.     $(SETPDEV) lp8000 $(lp8000_)
  1000.  
  1001. gdevlp8k.$(OBJ): gdevlp8k.c $(PDEVH)
  1002.  
  1003. ### -------------- The C.Itoh M8510 printer device --------------------- ###
  1004. ### Note: this driver was contributed by a user: please contact Bob      ###
  1005. ###       Smith <bob@snuffy.penfield.ny.us> if you have questions.       ###
  1006.  
  1007. m8510_=gdev8510.$(OBJ)
  1008. m8510.dev: $(m8510_) page.dev
  1009.     $(SETPDEV) m8510 $(m8510_)
  1010.  
  1011. gdev8510.$(OBJ): gdev8510.c $(PDEVH)
  1012.  
  1013. ### --------------------- The NEC P6 family devices -------------------- ###
  1014.  
  1015. necp6_=gdevnp6.$(OBJ)
  1016. necp6.dev: $(necp6_) page.dev
  1017.     $(SETPDEV) necp6 $(necp6_)
  1018.  
  1019. gdevnp6.$(OBJ): gdevnp6.c $(PDEVH)
  1020.  
  1021. ### ----------------- The Okidata MicroLine 182 device ----------------- ###
  1022. ### Note: this driver was contributed by a user: please contact          ###
  1023. ###       Maarten Koning (smeg@bnr.ca) if you have questions.            ###
  1024.  
  1025. oki182_=gdevo182.$(OBJ)
  1026. oki182.dev: $(oki182_) page.dev
  1027.     $(SETPDEV) oki182 $(oki182_)
  1028.  
  1029. gdevo182.$(OBJ): gdevo182.c $(PDEVH)
  1030.  
  1031. ### ------------- The Okidata IBM compatible printer device ------------ ###
  1032. ### Note: this driver was contributed by a user: please contact          ###
  1033. ###       Charles Mack (chasm@netcom.com) if you have questions.         ###
  1034.  
  1035. okiibm_=gdevokii.$(OBJ)
  1036. okiibm.dev: $(okiibm_) page.dev
  1037.     $(SETPDEV) okiibm $(okiibm_)
  1038.  
  1039. gdevokii.$(OBJ): gdevokii.c $(PDEVH)
  1040.  
  1041. ### ------------- The Ricoh 4081 laser printer device ------------------ ###
  1042. ### Note: this driver was contributed by users:                          ###
  1043. ###       please contact kdw@oasis.icl.co.uk if you have questions.      ###
  1044.  
  1045. r4081_=gdev4081.$(OBJ)
  1046. r4081.dev: $(r4081_) page.dev
  1047.     $(SETPDEV) r4081 $(r4081_)
  1048.  
  1049.  
  1050. gdev4081.$(OBJ): gdev4081.c $(PDEVH)
  1051.  
  1052. ### -------------------- Sony NWP533 printer device -------------------- ###
  1053. ### Note: this driver was contributed by a user: please contact Tero     ###
  1054. ###       Kivinen (kivinen@joker.cs.hut.fi) if you have questions.       ###
  1055.  
  1056. nwp533_=gdevn533.$(OBJ)
  1057. nwp533.dev: $(nwp533_) page.dev
  1058.     $(SETPDEV) nwp533 $(nwp533_)
  1059.  
  1060. gdevn533.$(OBJ): gdevn533.c $(PDEVH)
  1061.  
  1062. ### ------------------------- The SPARCprinter ------------------------- ###
  1063. ### Note: this driver was contributed by users: please contact Martin    ###
  1064. ###       Schulte (schulte@thp.uni-koeln.de) if you have questions.      ###
  1065. ###       He would also like to hear from anyone using the driver.       ###
  1066. ### Please consult the source code for additional documentation.         ###
  1067.  
  1068. sparc_=gdevsppr.$(OBJ)
  1069. sparc.dev: $(sparc_) page.dev
  1070.     $(SETPDEV) sparc $(sparc_)
  1071.  
  1072. gdevsppr.$(OBJ): gdevsppr.c $(PDEVH)
  1073.  
  1074. ### ----------------- The StarJet SJ48 device -------------------------- ###
  1075. ### Note: this driver was contributed by a user: if you have questions,  ###
  1076. ###                          .                                          ###
  1077. ###       please contact Mats Akerblom (f86ma@dd.chalmers.se).           ###
  1078.  
  1079. sj48_=gdevsj48.$(OBJ)
  1080. sj48.dev: $(sj48_) page.dev
  1081.     $(SETPDEV) sj48 $(sj48_)
  1082.  
  1083. gdevsj48.$(OBJ): gdevsj48.c $(PDEVH)
  1084.  
  1085. ### ----------------- Tektronix 4396d color printer -------------------- ###
  1086. ### Note: this driver was contributed by a user: please contact          ###
  1087. ###       Karl Hakimian (hakimian@haney.eecs.wsu.edu)                    ###
  1088. ###       if you have questions.                                         ###
  1089.  
  1090. t4693d_=gdev4693.$(OBJ)
  1091. t4693d2.dev: $(t4693d_) page.dev
  1092.     $(SETPDEV) t4693d2 $(t4693d_)
  1093.  
  1094. t4693d4.dev: $(t4693d_) page.dev
  1095.     $(SETPDEV) t4693d4 $(t4693d_)
  1096.  
  1097. t4693d8.dev: $(t4693d_) page.dev
  1098.     $(SETPDEV) t4693d8 $(t4693d_)
  1099.  
  1100. gdev4693.$(OBJ): gdev4693.c $(PDEVH)
  1101.  
  1102. ### -------------------- Tektronix ink-jet printers -------------------- ###
  1103. ### Note: this driver was contributed by a user: please contact          ###
  1104. ###       Karsten Spang (spang@nbivax.nbi.dk) if you have questions.     ###
  1105.  
  1106. tek4696_=gdevtknk.$(OBJ)
  1107. tek4696.dev: $(tek4696_) page.dev
  1108.     $(SETPDEV) tek4696 $(tek4696_)
  1109.  
  1110. gdevtknk.$(OBJ): gdevtknk.c $(PDEVH) $(malloc__h)
  1111.  
  1112. ### ----------------- The Xerox XES printer device --------------------- ###
  1113. ### Note: this driver was contributed by users: please contact           ###
  1114. ###       Peter Flass (flass@lbdrscs.bitnet) if you have questions.      ###
  1115.  
  1116. xes_=gdevxes.$(OBJ)
  1117. xes.dev: $(xes_) page.dev
  1118.     $(SETPDEV) xes $(xes_)
  1119.  
  1120. gdevxes.$(OBJ): gdevxes.c $(PDEVH)
  1121.  
  1122. ###### ------------------------- Fax devices ------------------------- ######
  1123.  
  1124. ### --------------- Generic PostScript system compatible fax ------------ ###
  1125.  
  1126. # This code doesn't work yet.  Don't even think about using it.
  1127.  
  1128. PSFAX=gdevpfax.$(OBJ)
  1129.  
  1130. psfax_=$(PSFAX)
  1131. psfax.dev: $(psfax_) page.dev
  1132.     $(SETPDEV) psfax $(psfax_)
  1133.     $(ADDMOD) psfax -iodev Fax
  1134.  
  1135. gdevpfax.$(OBJ): gdevpfax.c $(PDEVH) $(gsparam_h) $(gxiodev_h)
  1136.  
  1137. ### ------------------------- The DigiFAX device ------------------------ ###
  1138. ###    This driver outputs images in a format suitable for use with       ###
  1139. ###    DigiBoard, Inc.'s DigiFAX software.  Use -sDEVICE=dfaxhigh for     ###
  1140. ###    high resolution output, -sDEVICE=dfaxlow for normal output.        ###
  1141. ### Note: this driver was contributed by a user: please contact           ###
  1142. ###       Rick Richardson (rick@digibd.com) if you have questions.        ###
  1143.  
  1144. dfax_=gdevdfax.$(OBJ) gdevtfax.$(OBJ)
  1145.  
  1146. dfaxlow.dev: $(dfax_) page.dev
  1147.     $(SETPDEV) dfaxlow $(dfax_)
  1148.     $(ADDMOD) dfaxlow -include cfe
  1149.  
  1150. dfaxhigh.dev: $(dfax_) page.dev
  1151.     $(SETPDEV) dfaxhigh $(dfax_)
  1152.     $(ADDMOD) dfaxhigh -include cfe
  1153.  
  1154. gdevdfax.$(OBJ): gdevdfax.c $(PDEVH) $(scfx_h) $(strimpl_h)
  1155.  
  1156. ### --------------See under TIFF below for fax-format TIFF -------------- ###
  1157.  
  1158. ###### ------------------- High-level file formats ------------------- ######
  1159.  
  1160. # Support for PostScript and PDF
  1161.  
  1162. gdevpsdf_h=gdevpsdf.h $(gdevvec_h) $(strimpl_h)
  1163. gdevpstr_h=gdevpstr.h
  1164.  
  1165. gdevpsdf.$(OBJ): gdevpsdf.c $(stdio__h) $(string__h)\
  1166.  $(gserror_h) $(gserrors_h) $(gsmemory_h) $(gsparam_h) $(gstypes_h)\
  1167.  $(gxdevice_h)\
  1168.  $(scfx_h) $(slzwx_h) $(srlx_h) $(strimpl_h)\
  1169.  $(gdevpsdf_h) $(gdevpstr_h)
  1170.  
  1171. gdevpstr.$(OBJ): gdevpstr.c $(math__h) $(stdio__h) $(string__h)\
  1172.  $(gdevpstr_h) $(stream_h)
  1173.  
  1174. # PostScript and EPS writers
  1175.  
  1176. pswrite1_=gdevps.$(OBJ) gdevpsdf.$(OBJ) gdevpstr.$(OBJ)
  1177. pswrite2_=scantab.$(OBJ) sfilter2.$(OBJ)
  1178. pswrite_=$(pswrite1_) $(pswrite2_)
  1179. epswrite.dev: $(ECHOGS_XE) $(pswrite_) vector.dev
  1180.     $(SETDEV) epswrite $(pswrite1_)
  1181.     $(ADDMOD) epswrite $(pswrite2_)
  1182.     $(ADDMOD) epswrite -include vector
  1183.  
  1184. pswrite.dev: $(ECHOGS_XE) $(pswrite_) vector.dev
  1185.     $(SETDEV) pswrite $(pswrite1_)
  1186.     $(ADDMOD) pswrite $(pswrite2_)
  1187.     $(ADDMOD) pswrite -include vector
  1188.  
  1189. gdevps.$(OBJ): gdevps.c $(GDEV) $(math__h) $(time__h)\
  1190.  $(gscdefs_h) $(gscspace_h) $(gsparam_h) $(gsiparam_h) $(gsmatrix_h)\
  1191.  $(gxdcolor_h)\
  1192.  $(sa85x_h) $(strimpl_h)\
  1193.  $(gdevpsdf_h) $(gdevpstr_h)
  1194.  
  1195. # PDF writer
  1196. # Note that gs_pdfwr.ps will only actually be loaded if the configuration
  1197. # includes a PostScript interpreter.
  1198.  
  1199. pdfwrite1_=gdevpdf.$(OBJ) gdevpdfi.$(OBJ) gdevpdfm.$(OBJ)
  1200. pdfwrite2_=gdevpdfp.$(OBJ) gdevpdft.$(OBJ) gdevpsdf.$(OBJ) gdevpstr.$(OBJ)
  1201. pdfwrite3_=gsflip.$(OBJ) scantab.$(OBJ) sfilter2.$(OBJ) sstring.$(OBJ)
  1202. pdfwrite_=$(pdfwrite1_) $(pdfwrite2_) $(pdfwrite3_)
  1203. pdfwrite.dev: $(ECHOGS_XE) $(pdfwrite_) \
  1204.   cmyklib.dev cfe.dev dcte.dev lzwe.dev rle.dev vector.dev
  1205.     $(SETDEV) pdfwrite $(pdfwrite1_)
  1206.     $(ADDMOD) pdfwrite $(pdfwrite2_)
  1207.     $(ADDMOD) pdfwrite $(pdfwrite3_)
  1208.     $(ADDMOD) pdfwrite -ps gs_pdfwr
  1209.     $(ADDMOD) pdfwrite -include cmyklib cfe dcte lzwe rle vector
  1210.  
  1211. gdevpdfx_h=gdevpdfx.h $(gsparam_h) $(gxdevice_h) $(gxline_h) $(stream_h)\
  1212.  $(gdevpsdf_h) $(gdevpstr_h)
  1213.  
  1214. gdevpdf.$(OBJ): gdevpdf.c $(math__h) $(string__h) $(time__h) $(gp_h) \
  1215.   $(gdevpdfx_h) $(gscdefs_h) $(gserrors_h) \
  1216.   $(gx_h) $(gxdevice_h) $(gxfixed_h) $(gxistate_h) $(gxpaint_h) \
  1217.   $(gzcpath_h) $(gzpath_h) $(scfx_h) $(strimpl_h)
  1218.  
  1219. gdevpdfi.$(OBJ): gdevpdfi.c $(memory__h) $(gx_h) \
  1220.   $(gdevpdfx_h) $(gserrors_h) $(gsflip_h) $(gxcspace_h) $(gxistate_h) \
  1221.   $(sa85x_h) $(scfx_h) $(srlx_h) $(strimpl_h)
  1222.  
  1223. gdevpdfm.$(OBJ): gdevpdfm.c $(memory__h) $(string__h) $(gx_h) \
  1224.   $(gdevpdfx_h) $(gserrors_h) $(gsutil_h) $(scanchar_h)
  1225.  
  1226. gdevpdfp.$(OBJ): gdevpdfp.c $(gx_h)\
  1227.  $(gdevpdfx_h) $(gserrors_h)
  1228.  
  1229. gdevpdft.$(OBJ): gdevpdft.c $(string__h) $(gx_h)\
  1230.  $(gdevpdfx_h) $(gserrors_h) $(gsutil_h)\
  1231.  $(sstring_h) $(strimpl_h)
  1232.  
  1233. # High-level PCL XL writer
  1234.  
  1235. pxl_=gdevpx.$(OBJ)
  1236. pxlmono.dev: $(pxl_) $(GDEV) vector.dev
  1237.     $(SETDEV) pxlmono $(pxl_)
  1238.     $(ADDMOD) pxlmono -include vector
  1239.  
  1240. pxlcolor.dev: $(pxl_) $(GDEV) vector.dev
  1241.     $(SETDEV) pxlcolor $(pxl_)
  1242.     $(ADDMOD) pxlcolor -include vector
  1243.  
  1244. gdevpx.$(OBJ): gdevpx.c $(math__h) $(memory__h) $(string__h)\
  1245.  $(gx_h) $(gsccolor_h) $(gsdcolor_h) $(gserrors_h)\
  1246.  $(gxcspace_h) $(gxdevice_h) $(gxpath_h)\
  1247.  $(gdevpxat_h) $(gdevpxen_h) $(gdevpxop_h) $(gdevvec_h)\
  1248.  $(srlx_h) $(strimpl_h)
  1249.  
  1250. ###### --------------------- Raster file formats --------------------- ######
  1251.  
  1252. ### --------------------- The "plain bits" devices ---------------------- ###
  1253.  
  1254. bit_=gdevbit.$(OBJ)
  1255.  
  1256. bit.dev: $(bit_) page.dev
  1257.     $(SETPDEV) bit $(bit_)
  1258.  
  1259. bitrgb.dev: $(bit_) page.dev
  1260.     $(SETPDEV) bitrgb $(bit_)
  1261.  
  1262. bitcmyk.dev: $(bit_) page.dev
  1263.     $(SETPDEV) bitcmyk $(bit_)
  1264.  
  1265. gdevbit.$(OBJ): gdevbit.c $(PDEVH) $(gsparam_h) $(gxlum_h)
  1266.  
  1267. ### ------------------------- .BMP file formats ------------------------- ###
  1268.  
  1269. bmp_=gdevbmp.$(OBJ) gdevpccm.$(OBJ)
  1270.  
  1271. gdevbmp.$(OBJ): gdevbmp.c $(PDEVH) $(gdevpccm_h)
  1272.  
  1273. bmpmono.dev: $(bmp_) page.dev
  1274.     $(SETPDEV) bmpmono $(bmp_)
  1275.  
  1276. bmp16.dev: $(bmp_) page.dev
  1277.     $(SETPDEV) bmp16 $(bmp_)
  1278.  
  1279. bmp256.dev: $(bmp_) page.dev
  1280.     $(SETPDEV) bmp256 $(bmp_)
  1281.  
  1282. bmp16m.dev: $(bmp_) page.dev
  1283.     $(SETPDEV) bmp16m $(bmp_)
  1284.  
  1285. ### -------------------------- CGM file format ------------------------- ###
  1286. ### This driver is under development.  Use at your own risk.             ###
  1287. ### The output is very low-level, consisting only of rectangles and      ###
  1288. ### cell arrays.                                                         ###
  1289.  
  1290. cgm_=gdevcgm.$(OBJ) gdevcgml.$(OBJ)
  1291.  
  1292. gdevcgml_h=gdevcgml.h
  1293. gdevcgmx_h=gdevcgmx.h $(gdevcgml_h)
  1294.  
  1295. gdevcgm.$(OBJ): gdevcgm.c $(GDEV) $(memory__h)\
  1296.  $(gsparam_h) $(gdevpccm_h) $(gdevcgml_h)
  1297.  
  1298. gdevcgml.$(OBJ): gdevcgml.c $(memory__h) $(stdio__h)\
  1299.  $(gdevcgmx_h)
  1300.  
  1301. cgmmono.dev: $(cgm_)
  1302.     $(SETDEV) cgmmono $(cgm_)
  1303.  
  1304. cgm8.dev: $(cgm_)
  1305.     $(SETDEV) cgm8 $(cgm_)
  1306.  
  1307. cgm24.dev: $(cgm_)
  1308.     $(SETDEV) cgm24 $(cgm_)
  1309.  
  1310. ### -------------------- The CIF file format for VLSI ------------------ ###
  1311. ### Note: this driver was contributed by a user: please contact          ###
  1312. ###       Frederic Petrot (petrot@masi.ibp.fr) if you have questions.    ###
  1313.  
  1314. cif_=gdevcif.$(OBJ)
  1315. cif.dev: $(cif_) page.dev
  1316.     $(SETPDEV) cif $(cif_)
  1317.  
  1318. gdevcif.$(OBJ): gdevcif.c $(PDEVH)
  1319.  
  1320. ### ------------------------- JPEG file format ------------------------- ###
  1321.  
  1322. jpeg_=gdevjpeg.$(OBJ)
  1323.  
  1324. # RGB output
  1325. jpeg.dev: $(jpeg_) sdcte.dev page.dev
  1326.     $(SETPDEV) jpeg $(jpeg_)
  1327.     $(ADDMOD) jpeg -include sdcte
  1328.  
  1329. # Gray output
  1330. jpeggray.dev: $(jpeg_) sdcte.dev page.dev
  1331.     $(SETPDEV) jpeggray $(jpeg_)
  1332.     $(ADDMOD) jpeggray -include sdcte
  1333.  
  1334. gdevjpeg.$(OBJ): gdevjpeg.c $(stdio__h) $(PDEVH)\
  1335.  $(sdct_h) $(sjpeg_h) $(stream_h) $(strimpl_h) jpeglib.h
  1336.  
  1337. ### ------------------------- MIFF file format ------------------------- ###
  1338. ### Right now we support only 24-bit direct color, but we might add more ###
  1339. ### formats in the future.                                               ###
  1340.  
  1341. miff_=gdevmiff.$(OBJ)
  1342.  
  1343. miff24.dev: $(miff_) page.dev
  1344.     $(SETPDEV) miff24 $(miff_)
  1345.  
  1346. gdevmiff.$(OBJ): gdevmiff.c $(PDEVH)
  1347.  
  1348. ### --------------------------- MGR devices ---------------------------- ###
  1349. ### Note: these drivers were contributed by a user: please contact       ###
  1350. ###       Carsten Emde (carsten@ce.pr.net.ch) if you have questions.     ###
  1351.  
  1352. MGR=gdevmgr.$(OBJ) gdevpccm.$(OBJ)
  1353.  
  1354. gdevmgr.$(OBJ): gdevmgr.c $(PDEVH) $(gdevpccm_h) gdevmgr.h
  1355.  
  1356. mgrmono.dev: $(MGR) page.dev
  1357.     $(SETPDEV) mgrmono $(MGR)
  1358.  
  1359. mgrgray2.dev: $(MGR) page.dev
  1360.     $(SETPDEV) mgrgray2 $(MGR)
  1361.  
  1362. mgrgray4.dev: $(MGR) page.dev
  1363.     $(SETPDEV) mgrgray4 $(MGR)
  1364.  
  1365. mgrgray8.dev: $(MGR) page.dev
  1366.     $(SETPDEV) mgrgray8 $(MGR)
  1367.  
  1368. mgr4.dev: $(MGR) page.dev
  1369.     $(SETPDEV) mgr4 $(MGR)
  1370.  
  1371. mgr8.dev: $(MGR) page.dev
  1372.     $(SETPDEV) mgr8 $(MGR)
  1373.  
  1374. ### ------------------------- PCX file formats ------------------------- ###
  1375.  
  1376. pcx_=gdevpcx.$(OBJ) gdevpccm.$(OBJ)
  1377.  
  1378. gdevpcx.$(OBJ): gdevpcx.c $(PDEVH) $(gdevpccm_h) $(gxlum_h)
  1379.  
  1380. pcxmono.dev: $(pcx_) page.dev
  1381.     $(SETPDEV) pcxmono $(pcx_)
  1382.  
  1383. pcxgray.dev: $(pcx_) page.dev
  1384.     $(SETPDEV) pcxgray $(pcx_)
  1385.  
  1386. pcx16.dev: $(pcx_) page.dev
  1387.     $(SETPDEV) pcx16 $(pcx_)
  1388.  
  1389. pcx256.dev: $(pcx_) page.dev
  1390.     $(SETPDEV) pcx256 $(pcx_)
  1391.  
  1392. pcx24b.dev: $(pcx_) page.dev
  1393.     $(SETPDEV) pcx24b $(pcx_)
  1394.  
  1395. pcxcmyk.dev: $(pcx_) page.dev
  1396.     $(SETPDEV) pcxcmyk $(pcx_)
  1397.  
  1398. # The 2-up PCX device is here only as an example, and for testing.
  1399. pcx2up.dev: $(LIB_MAK) $(ECHOGS_XE) gdevp2up.$(OBJ) page.dev pcx256.dev
  1400.     $(SETPDEV) pcx2up gdevp2up.$(OBJ)
  1401.     $(ADDMOD) pcx2up -include pcx256
  1402.  
  1403. gdevp2up.$(OBJ): gdevp2up.c $(AK)\
  1404.  $(gdevpccm_h) $(gdevprn_h) $(gxclpage_h)
  1405.  
  1406. ### ------------------- Portable Bitmap file formats ------------------- ###
  1407. ### For more information, see the pbm(5), pgm(5), and ppm(5) man pages.  ###
  1408.  
  1409. pxm_=gdevpbm.$(OBJ)
  1410.  
  1411. gdevpbm.$(OBJ): gdevpbm.c $(PDEVH) $(gscdefs_h) $(gxlum_h)
  1412.  
  1413. ### Portable Bitmap (PBM, plain or raw format, magic numbers "P1" or "P4")
  1414.  
  1415. pbm.dev: $(pxm_) page.dev
  1416.     $(SETPDEV) pbm $(pxm_)
  1417.  
  1418. pbmraw.dev: $(pxm_) page.dev
  1419.     $(SETPDEV) pbmraw $(pxm_)
  1420.  
  1421. ### Portable Graymap (PGM, plain or raw format, magic numbers "P2" or "P5")
  1422.  
  1423. pgm.dev: $(pxm_) page.dev
  1424.     $(SETPDEV) pgm $(pxm_)
  1425.  
  1426. pgmraw.dev: $(pxm_) page.dev
  1427.     $(SETPDEV) pgmraw $(pxm_)
  1428.  
  1429. # PGM with automatic optimization to PBM if this is possible.
  1430.  
  1431. pgnm.dev: $(pxm_) page.dev
  1432.     $(SETPDEV) pgnm $(pxm_)
  1433.  
  1434. pgnmraw.dev: $(pxm_) page.dev
  1435.     $(SETPDEV) pgnmraw $(pxm_)
  1436.  
  1437. ### Portable Pixmap (PPM, plain or raw format, magic numbers "P3" or "P6")
  1438.  
  1439. ppm.dev: $(pxm_) page.dev
  1440.     $(SETPDEV) ppm $(pxm_)
  1441.  
  1442. ppmraw.dev: $(pxm_) page.dev
  1443.     $(SETPDEV) ppmraw $(pxm_)
  1444.  
  1445. # PPM with automatic optimization to PGM or PBM if possible.
  1446.  
  1447. pnm.dev: $(pxm_) page.dev
  1448.     $(SETPDEV) pnm $(pxm_)
  1449.  
  1450. pnmraw.dev: $(pxm_) page.dev
  1451.     $(SETPDEV) pnmraw $(pxm_)
  1452.  
  1453. ### Portable inKmap (CMYK internally, converted to PPM=RGB at output time)
  1454.  
  1455. pkm.dev: $(pxm_) page.dev
  1456.     $(SETPDEV) pkm $(pxm_)
  1457.  
  1458. pkmraw.dev: $(pxm_) page.dev
  1459.     $(SETPDEV) pkmraw $(pxm_)
  1460.  
  1461. ### --------------- Portable Network Graphics file format --------------- ###
  1462. ### Requires libpng 0.81 and zlib 0.95 (or more recent versions).         ###
  1463. ### See libpng.mak and zlib.mak for more details.                         ###
  1464.  
  1465. png_=gdevpng.$(OBJ) gdevpccm.$(OBJ)
  1466.  
  1467. gdevpng.$(OBJ): gdevpng.c $(gdevprn_h) $(gdevpccm_h) $(gscdefs_h) $(PSRC)png.h
  1468.     $(CCCP) gdevpng.c
  1469.  
  1470. pngmono.dev: libpng.dev $(png_) page.dev
  1471.     $(SETPDEV) pngmono  $(png_)
  1472.     $(ADDMOD) pngmono  -include libpng
  1473.  
  1474. pnggray.dev: libpng.dev $(png_) page.dev
  1475.     $(SETPDEV) pnggray  $(png_)
  1476.     $(ADDMOD) pnggray  -include libpng
  1477.  
  1478. png16.dev: libpng.dev $(png_) page.dev
  1479.     $(SETPDEV) png16  $(png_)
  1480.     $(ADDMOD) png16  -include libpng
  1481.  
  1482. png256.dev: libpng.dev $(png_) page.dev
  1483.     $(SETPDEV) png256  $(png_)
  1484.     $(ADDMOD) png256  -include libpng
  1485.  
  1486. png16m.dev: libpng.dev $(png_) page.dev
  1487.     $(SETPDEV) png16m  $(png_)
  1488.     $(ADDMOD) png16m  -include libpng
  1489.  
  1490. ### ---------------------- PostScript image format ---------------------- ###
  1491. ### These devices make it possible to print Level 2 files on a Level 1    ###
  1492. ###   printer, by converting them to a bitmap in PostScript format.       ###
  1493.  
  1494. ps_=gdevpsim.$(OBJ)
  1495.  
  1496. gdevpsim.$(OBJ): gdevpsim.c $(PDEVH)
  1497.  
  1498. psmono.dev: $(ps_) page.dev
  1499.     $(SETPDEV) psmono $(ps_)
  1500.  
  1501. psgray.dev: $(ps_) page.dev
  1502.     $(SETPDEV) psgray $(ps_)
  1503.  
  1504. # Someday there will be RGB and CMYK variants....
  1505.  
  1506. ### -------------------------- SGI RGB pixmaps -------------------------- ###
  1507.  
  1508. sgirgb_=gdevsgi.$(OBJ)
  1509.  
  1510. gdevsgi.$(OBJ): gdevsgi.c $(PDEVH) gdevsgi.h
  1511.  
  1512. sgirgb.dev: $(sgirgb_) page.dev
  1513.     $(SETPDEV) sgirgb $(sgirgb_)
  1514.  
  1515. ### -------------------- Plain or TIFF fax encoding --------------------- ###
  1516. ###    Use -sDEVICE=tiffg3 or tiffg4 and                  ###
  1517. ###      -r204x98 for low resolution output, or              ###
  1518. ###      -r204x196 for high resolution output                  ###
  1519. ###    These drivers recognize 3 page sizes: letter, A4, and B4.      ###
  1520.  
  1521. gdevtifs_h=gdevtifs.h
  1522.  
  1523. tfax_=gdevtfax.$(OBJ)
  1524. tfax.dev: $(tfax_) cfe.dev lzwe.dev rle.dev tiffs.dev
  1525.     $(SETMOD) tfax $(tfax_)
  1526.     $(ADDMOD) tfax -include cfe lzwe rle tiffs
  1527.  
  1528. gdevtfax.$(OBJ): gdevtfax.c $(PDEVH)\
  1529.  $(gdevtifs_h) $(scfx_h) $(slzwx_h) $(srlx_h) $(strimpl_h)
  1530.  
  1531. ### Plain G3/G4 fax with no header
  1532.  
  1533. faxg3.dev: tfax.dev
  1534.     $(SETDEV) faxg3 -include tfax
  1535.  
  1536. faxg32d.dev: tfax.dev
  1537.     $(SETDEV) faxg32d -include tfax
  1538.  
  1539. faxg4.dev: tfax.dev
  1540.     $(SETDEV) faxg4 -include tfax
  1541.  
  1542. ### ---------------------------- TIFF formats --------------------------- ###
  1543.  
  1544. tiffs_=gdevtifs.$(OBJ)
  1545. tiffs.dev: $(tiffs_) page.dev
  1546.     $(SETMOD) tiffs $(tiffs_)
  1547.     $(ADDMOD) tiffs -include page
  1548.  
  1549. gdevtifs.$(OBJ): gdevtifs.c $(PDEVH) $(stdio__h) $(time__h) \
  1550.  $(gdevtifs_h) $(gscdefs_h) $(gstypes_h)
  1551.  
  1552. # Black & white, G3/G4 fax
  1553.  
  1554. tiffcrle.dev: tfax.dev
  1555.     $(SETDEV) tiffcrle -include tfax
  1556.  
  1557. tiffg3.dev: tfax.dev
  1558.     $(SETDEV) tiffg3 -include tfax
  1559.  
  1560. tiffg32d.dev: tfax.dev
  1561.     $(SETDEV) tiffg32d -include tfax
  1562.  
  1563. tiffg4.dev: tfax.dev
  1564.     $(SETDEV) tiffg4 -include tfax
  1565.  
  1566. # Black & white, LZW compression
  1567.  
  1568. tifflzw.dev: tfax.dev
  1569.     $(SETDEV) tifflzw -include tfax
  1570.  
  1571. # Black & white, PackBits compression
  1572.  
  1573. tiffpack.dev: tfax.dev
  1574.     $(SETDEV) tiffpack -include tfax
  1575.  
  1576. # RGB, no compression
  1577.  
  1578. tiffrgb_=gdevtfnx.$(OBJ)
  1579.  
  1580. tiff12nc.dev: $(tiffrgb_) tiffs.dev
  1581.     $(SETPDEV) tiff12nc $(tiffrgb_)
  1582.     $(ADDMOD) tiff12nc -include tiffs
  1583.  
  1584. tiff24nc.dev: $(tiffrgb_) tiffs.dev
  1585.     $(SETPDEV) tiff24nc $(tiffrgb_)
  1586.     $(ADDMOD) tiff24nc -include tiffs
  1587.  
  1588. gdevtfnx.$(OBJ): gdevtfnx.c $(PDEVH) $(gdevtifs_h)
  1589.